package com.marcjmcd.cop4331;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class NavHome extends Activity
{
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.nav);
		
		Button back = (Button) findViewById(R.id.button8);
		
		back.setOnClickListener(new OnClickListener() {
			
		@Override
		public void onClick(View v) 
		{
				Context context = getApplicationContext();
				
				//Return to main
				startActivity(new Intent(context, Main.class));
		}
		});
		
	}
}
